# 
# COSOperator.cpp was removed from IRROTHEROBJ
#
#if using Visual GDB instead of cygwin you will get the error
#make (e=87): The parameter is incorrect.
#this is because with a large number of files the parameters passed to the windows call CreateProcess
#exceeds 32,768 characters
#uncomment  LOCAL_SHORT_COMMANDS := true if you see the error

#LOCAL_SHORT_COMMANDS := true


LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)


LOCAL_C_INCLUDES := \
       -I ./ \
       -I $(LOCAL_PATH)/ \
       -I $(LOCAL_PATH)/irrlicht \
       -I $(LOCAL_PATH)/VxIrrLib \
       -I $(LOCAL_PATH)/VxNetLib \
       -I $(LOCAL_PATH)/VxUtilLib \
       -I $(LOCAL_PATH)/squirrel/include \
       -I $(LOCAL_PATH)/squirrel/sqplus \
       -I $(LOCAL_PATH)/bullet \
       -I $(LOCAL_PATH)/bullet/BulletCollision/BroadphaseCollision \
       -I $(LOCAL_PATH)/bullet/BulletCollision/CollisionDispatch \
       -I $(LOCAL_PATH)/bullet/BulletCollision/CollisionShapes \
       -I $(LOCAL_PATH)/bullet/BulletCollision/NarrowPhaseCollision \
       -I $(LOCAL_PATH)/bullet/BulletDynamics/ConstraintSolver \
       -I $(LOCAL_PATH)/bullet/BulletDynamics/Dynamics \
       -I $(LOCAL_PATH)/bullet/BulletDynamics/Vehicle \
       -I $(LOCAL_PATH)/bullet/LinearMath

BULLETOBJ := \
        bullet/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp \
        bullet/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp \
        bullet/BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp \
        bullet/BulletCollision/BroadphaseCollision/btDbvt.cpp \
        bullet/BulletCollision/BroadphaseCollision/btDbvtBroadphase.cpp \
        bullet/BulletCollision/BroadphaseCollision/btDispatcher.cpp \
        bullet/BulletCollision/BroadphaseCollision/btMultiSapBroadphase.cpp \
        bullet/BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp \
        bullet/BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp \
        bullet/BulletCollision/BroadphaseCollision/btSimpleBroadphase.cpp \
        bullet/BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp \
        bullet/BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp \
        bullet/BulletCollision/CollisionDispatch/btCollisionObject.cpp \
        bullet/BulletCollision/CollisionDispatch/btCollisionWorld.cpp \
        bullet/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.cpp \
        bullet/BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btGhostObject.cpp \
        bullet/BulletCollision/CollisionDispatch/btInternalEdgeUtility.cpp \
        bullet/BulletCollision/CollisionDispatch/btManifoldResult.cpp \
        bullet/BulletCollision/CollisionDispatch/btSimulationIslandManager.cpp \
        bullet/BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp \
        bullet/BulletCollision/CollisionDispatch/btUnionFind.cpp \
        bullet/BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp \
        bullet/BulletCollision/CollisionShapes/btBox2dShape.cpp \
        bullet/BulletCollision/CollisionShapes/btBoxShape.cpp \
        bullet/BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp \
        bullet/BulletCollision/CollisionShapes/btCapsuleShape.cpp \
        bullet/BulletCollision/CollisionShapes/btCollisionShape.cpp \
        bullet/BulletCollision/CollisionShapes/btCompoundShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConcaveShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConeShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConvex2dShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConvexHullShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConvexInternalShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConvexShape.cpp \
        bullet/BulletCollision/CollisionShapes/btConvexTriangleMeshShape.cpp \
        bullet/BulletCollision/CollisionShapes/btCylinderShape.cpp \
        bullet/BulletCollision/CollisionShapes/btEmptyShape.cpp \
        bullet/BulletCollision/CollisionShapes/btHeightfieldTerrainShape.cpp \
        bullet/BulletCollision/CollisionShapes/btMinkowskiSumShape.cpp \
        bullet/BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.cpp \
        bullet/BulletCollision/CollisionShapes/btMultiSphereShape.cpp \
        bullet/BulletCollision/CollisionShapes/btOptimizedBvh.cpp \
        bullet/BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp \
        bullet/BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.cpp \
        bullet/BulletCollision/CollisionShapes/btShapeHull.cpp \
        bullet/BulletCollision/CollisionShapes/btSphereShape.cpp \
        bullet/BulletCollision/CollisionShapes/btStaticPlaneShape.cpp \
        bullet/BulletCollision/CollisionShapes/btStridingMeshInterface.cpp \
        bullet/BulletCollision/CollisionShapes/btTetrahedronShape.cpp \
        bullet/BulletCollision/CollisionShapes/btTriangleBuffer.cpp \
        bullet/BulletCollision/CollisionShapes/btTriangleCallback.cpp \
        bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp \
        bullet/BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.cpp \
        bullet/BulletCollision/CollisionShapes/btTriangleMesh.cpp \
        bullet/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp \
        bullet/BulletCollision/CollisionShapes/btUniformScalingShape.cpp \
        bullet/BulletCollision/Gimpact/btContactProcessing.cpp \
        bullet/BulletCollision/Gimpact/btGenericPoolAllocator.cpp \
        bullet/BulletCollision/Gimpact/btGImpactBvh.cpp \
        bullet/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp \
        bullet/BulletCollision/Gimpact/btGImpactQuantizedBvh.cpp \
        bullet/BulletCollision/Gimpact/btGImpactShape.cpp\
        bullet/BulletCollision/Gimpact/btTriangleShapeEx.cpp \
        bullet/BulletCollision/Gimpact/gim_box_set.cpp \
        bullet/BulletCollision/Gimpact/gim_contact.cpp \
        bullet/BulletCollision/Gimpact/gim_memory.cpp \
        bullet/BulletCollision/Gimpact/gim_tri_collision.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btConvexCast.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btGjkEpa2.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btGjkPairDetector.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp \
        bullet/BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp \
        bullet/BulletDynamics/Character/btKinematicCharacterController.cpp \
        bullet/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btContactConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btHinge2Constraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btPoint2PointConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp \
        bullet/BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btSliderConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btTypedConstraint.cpp \
        bullet/BulletDynamics/ConstraintSolver/btUniversalConstraint.cpp \
        bullet/BulletDynamics/Dynamics/btContinuousDynamicsWorld.cpp \
        bullet/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp \
        bullet/BulletDynamics/Dynamics/btRigidBody.cpp \
        bullet/BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp \
        bullet/BulletDynamics/Dynamics/Bullet-C-API.cpp \
        bullet/BulletDynamics/Vehicle/btRaycastVehicle.cpp \
        bullet/BulletDynamics/Vehicle/btWheelInfo.cpp \
        bullet/BulletSoftBody/btSoftBody.cpp \
        bullet/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.cpp \
        bullet/BulletSoftBody/btSoftBodyHelpers.cpp \
        bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp \
        bullet/BulletSoftBody/btSoftRigidCollisionAlgorithm.cpp \
        bullet/BulletSoftBody/btSoftRigidDynamicsWorld.cpp \
        bullet/BulletSoftBody/btSoftSoftCollisionAlgorithm.cpp \
        bullet/LinearMath/btAlignedAllocator.cpp \
        bullet/LinearMath/btConvexHull.cpp \
        bullet/LinearMath/btGeometryUtil.cpp \
        bullet/LinearMath/btQuickprof.cpp \
        bullet/LinearMath/btSerializer.cpp \
        bullet/bullet.cpp

IRRMESHLOADER = irrlicht/CBSPMeshFileLoader.cpp irrlicht/CMD2MeshFileLoader.cpp irrlicht/CMD3MeshFileLoader.cpp irrlicht/CMS3DMeshFileLoader.cpp irrlicht/CB3DMeshFileLoader.cpp irrlicht/C3DSMeshFileLoader.cpp irrlicht/COgreMeshFileLoader.cpp irrlicht/COBJMeshFileLoader.cpp irrlicht/CColladaFileLoader.cpp irrlicht/CCSMLoader.cpp irrlicht/CDMFLoader.cpp irrlicht/CLMTSMeshFileLoader.cpp irrlicht/CMY3DMeshFileLoader.cpp irrlicht/COCTLoader.cpp irrlicht/CXMeshFileLoader.cpp irrlicht/CIrrMeshFileLoader.cpp irrlicht/CSTLMeshFileLoader.cpp irrlicht/CLWOMeshFileLoader.cpp irrlicht/CPLYMeshFileLoader.cpp
IRRMESHWRITER = irrlicht/CColladaMeshWriter.cpp irrlicht/CIrrMeshWriter.cpp irrlicht/CSTLMeshWriter.cpp irrlicht/COBJMeshWriter.cpp irrlicht/CPLYMeshWriter.cpp
IRRMESHOBJ = $(IRRMESHLOADER) $(IRRMESHWRITER) irrlicht/CSkinnedMesh.cpp irrlicht/CBoneSceneNode.cpp irrlicht/CMeshSceneNode.cpp irrlicht/CAnimatedMeshSceneNode.cpp irrlicht/CAnimatedMeshMD2.cpp irrlicht/CAnimatedMeshMD3.cpp irrlicht/CQ3LevelMesh.cpp irrlicht/CQuake3ShaderSceneNode.cpp
IRROBJ = irrlicht/CBillboardSceneNode.cpp irrlicht/CCameraSceneNode.cpp irrlicht/CDummyTransformationSceneNode.cpp irrlicht/CEmptySceneNode.cpp irrlicht/CGeometryCreator.cpp irrlicht/CLightSceneNode.cpp irrlicht/CMeshManipulator.cpp irrlicht/CMetaTriangleSelector.cpp irrlicht/COctreeSceneNode.cpp irrlicht/COctreeTriangleSelector.cpp irrlicht/CSceneCollisionManager.cpp irrlicht/CSceneManager.cpp irrlicht/CShadowVolumeSceneNode.cpp irrlicht/CSkyBoxSceneNode.cpp irrlicht/CSkyDomeSceneNode.cpp irrlicht/CTerrainSceneNode.cpp irrlicht/CTerrainTriangleSelector.cpp irrlicht/CVolumeLightSceneNode.cpp irrlicht/CCubeSceneNode.cpp irrlicht/CSphereSceneNode.cpp irrlicht/CTextSceneNode.cpp irrlicht/CTriangleBBSelector.cpp irrlicht/CTriangleSelector.cpp irrlicht/CWaterSurfaceSceneNode.cpp irrlicht/CMeshCache.cpp irrlicht/CDefaultSceneNodeAnimatorFactory.cpp irrlicht/CDefaultSceneNodeFactory.cpp
IRRPARTICLEOBJ = irrlicht/CParticleAnimatedMeshSceneNodeEmitter.cpp irrlicht/CParticleBoxEmitter.cpp irrlicht/CParticleCylinderEmitter.cpp irrlicht/CParticleMeshEmitter.cpp irrlicht/CParticlePointEmitter.cpp irrlicht/CParticleRingEmitter.cpp irrlicht/CParticleSphereEmitter.cpp irrlicht/CParticleAttractionAffector.cpp irrlicht/CParticleFadeOutAffector.cpp irrlicht/CParticleGravityAffector.cpp irrlicht/CParticleRotationAffector.cpp irrlicht/CParticleSystemSceneNode.cpp irrlicht/CParticleScaleAffector.cpp
IRRANIMOBJ = irrlicht/CSceneNodeAnimatorCameraFPS.cpp irrlicht/CSceneNodeAnimatorCameraMaya.cpp irrlicht/CSceneNodeAnimatorCollisionResponse.cpp irrlicht/CSceneNodeAnimatorDelete.cpp irrlicht/CSceneNodeAnimatorFlyCircle.cpp irrlicht/CSceneNodeAnimatorFlyStraight.cpp irrlicht/CSceneNodeAnimatorFollowSpline.cpp irrlicht/CSceneNodeAnimatorRotation.cpp irrlicht/CSceneNodeAnimatorTexture.cpp
IRRDRVROBJ = irrlicht/CNullDriver.cpp irrlicht/COGLESDriver.cpp irrlicht/COGLESTexture.cpp irrlicht/COGLESExtensionHandler.cpp
IRRIMAGEOBJ = irrlicht/CColorConverter.cpp irrlicht/CImage.cpp irrlicht/CImageLoaderBMP.cpp irrlicht/CImageLoaderJPG.cpp irrlicht/CImageLoaderPCX.cpp irrlicht/CImageLoaderPNG.cpp irrlicht/CImageLoaderPSD.cpp irrlicht/CImageLoaderTGA.cpp irrlicht/CImageLoaderPPM.cpp irrlicht/CImageLoaderWAL.cpp irrlicht/CImageLoaderRGB.cpp irrlicht/CImageWriterBMP.cpp irrlicht/CImageWriterJPG.cpp irrlicht/CImageWriterPCX.cpp irrlicht/CImageWriterPNG.cpp irrlicht/CImageWriterPPM.cpp irrlicht/CImageWriterPSD.cpp irrlicht/CImageWriterTGA.cpp
IRRVIDEOOBJ = irrlicht/CVideoModeList.cpp irrlicht/CFPSCounter.cpp $(IRRDRVROBJ) $(IRRIMAGEOBJ)
IRRSWRENDEROBJ = irrlicht/CSoftwareDriver.cpp irrlicht/CSoftwareTexture.cpp irrlicht/CTRFlat.cpp irrlicht/CTRFlatWire.cpp irrlicht/CTRGouraud.cpp irrlicht/CTRGouraudWire.cpp irrlicht/CTRTextureFlat.cpp irrlicht/CTRTextureFlatWire.cpp irrlicht/CTRTextureGouraud.cpp irrlicht/CTRTextureGouraudAdd.cpp irrlicht/CTRTextureGouraudNoZ.cpp irrlicht/CTRTextureGouraudWire.cpp irrlicht/CZBuffer.cpp irrlicht/CTRTextureGouraudVertexAlpha2.cpp irrlicht/CTRTextureGouraudNoZ2.cpp irrlicht/CTRTextureLightMap2_M2.cpp irrlicht/CTRTextureLightMap2_M4.cpp irrlicht/CTRTextureLightMap2_M1.cpp irrlicht/CSoftwareDriver2.cpp irrlicht/CSoftwareTexture2.cpp irrlicht/CTRTextureGouraud2.cpp irrlicht/CTRGouraud2.cpp irrlicht/CTRGouraudAlpha2.cpp irrlicht/CTRGouraudAlphaNoZ2.cpp irrlicht/CTRTextureDetailMap2.cpp irrlicht/CTRTextureGouraudAdd2.cpp irrlicht/CTRTextureGouraudAddNoZ2.cpp irrlicht/CTRTextureWire2.cpp irrlicht/CTRTextureLightMap2_Add.cpp irrlicht/CTRTextureLightMapGouraud2_M4.cpp irrlicht/IBurningShader.cpp irrlicht/CTRTextureBlend.cpp irrlicht/CTRTextureGouraudAlpha.cpp irrlicht/CTRTextureGouraudAlphaNoZ.cpp irrlicht/CDepthBuffer.cpp irrlicht/CBurningShader_Raster_Reference.cpp
IRRIOOBJ = irrlicht/CFileList.cpp irrlicht/CFileSystem.cpp irrlicht/CLimitReadFile.cpp irrlicht/CMemoryFile.cpp irrlicht/CReadFile.cpp irrlicht/CWriteFile.cpp irrlicht/CXMLReader.cpp irrlicht/CXMLWriter.cpp irrlicht/CZipReader.cpp irrlicht/CPakReader.cpp irrlicht/CNPKReader.cpp irrlicht/CTarReader.cpp irrlicht/CMountPointReader.cpp irrlicht/irrXML.cpp irrlicht/CAttributes.cpp irrlicht/lzma/LzmaDec.c
IRROTHEROBJ = irrlicht/CIrrDeviceConsole.cpp irrlicht/CIrrDeviceStub.cpp irrlicht/CLogger.cpp irrlicht/Irrlicht.cpp irrlicht/os.cpp irrlicht/IrrlichtUtil.cpp 
IRRGUIOBJ = irrlicht/CGUIButton.cpp irrlicht/CGUICheckBox.cpp irrlicht/CGUIComboBox.cpp irrlicht/CGUIContextMenu.cpp irrlicht/CGUIEditBox.cpp irrlicht/CGUIEnvironment.cpp irrlicht/CGUIFileOpenDialog.cpp irrlicht/CGUIFont.cpp irrlicht/CGUIImage.cpp irrlicht/CGUIInOutFader.cpp irrlicht/CGUIListBox.cpp irrlicht/CGUIMenu.cpp irrlicht/CGUIMeshViewer.cpp irrlicht/CGUIMessageBox.cpp irrlicht/CGUIModalScreen.cpp irrlicht/CGUIScrollBar.cpp irrlicht/CGUISpinBox.cpp irrlicht/CGUISkin.cpp irrlicht/CGUIStaticText.cpp irrlicht/CGUITabControl.cpp irrlicht/CGUITable.cpp irrlicht/CGUIToolBar.cpp irrlicht/CGUIWindow.cpp irrlicht/CGUIColorSelectDialog.cpp irrlicht/CDefaultGUIElementFactory.cpp irrlicht/CGUISpriteBank.cpp irrlicht/CGUIImageList.cpp irrlicht/CGUITreeView.cpp
 
ZLIBOBJ = irrlicht/zlib/adler32.c irrlicht/zlib/compress.c irrlicht/zlib/crc32.c irrlicht/zlib/deflate.c irrlicht/zlib/inffast.c irrlicht/zlib/inflate.c irrlicht/zlib/inftrees.c irrlicht/zlib/trees.c irrlicht/zlib/uncompr.c irrlicht/zlib/zutil.c
JPEGLIBOBJ = irrlicht/jpeglib/jcapimin.c irrlicht/jpeglib/jcapistd.c irrlicht/jpeglib/jccoefct.c irrlicht/jpeglib/jccolor.c irrlicht/jpeglib/jcdctmgr.c irrlicht/jpeglib/jchuff.c irrlicht/jpeglib/jcinit.c irrlicht/jpeglib/jcmainct.c irrlicht/jpeglib/jcmarker.c irrlicht/jpeglib/jcmaster.c irrlicht/jpeglib/jcomapi.c irrlicht/jpeglib/jcparam.c irrlicht/jpeglib/jcprepct.c irrlicht/jpeglib/jcsample.c irrlicht/jpeglib/jctrans.c irrlicht/jpeglib/jdapimin.c irrlicht/jpeglib/jdapistd.c irrlicht/jpeglib/jdatadst.c irrlicht/jpeglib/jdatasrc.c irrlicht/jpeglib/jdcoefct.c irrlicht/jpeglib/jdcolor.c irrlicht/jpeglib/jddctmgr.c irrlicht/jpeglib/jdhuff.c irrlicht/jpeglib/jdinput.c irrlicht/jpeglib/jdmainct.c irrlicht/jpeglib/jdmarker.c irrlicht/jpeglib/jdmaster.c irrlicht/jpeglib/jdmerge.c irrlicht/jpeglib/jdpostct.c irrlicht/jpeglib/jdsample.c irrlicht/jpeglib/jdtrans.c irrlicht/jpeglib/jerror.c irrlicht/jpeglib/jfdctflt.c irrlicht/jpeglib/jfdctfst.c irrlicht/jpeglib/jfdctint.c irrlicht/jpeglib/jidctflt.c irrlicht/jpeglib/jidctfst.c irrlicht/jpeglib/jidctint.c irrlicht/jpeglib/jmemmgr.c irrlicht/jpeglib/jmemnobs.c irrlicht/jpeglib/jquant1.c irrlicht/jpeglib/jquant2.c irrlicht/jpeglib/jutils.c irrlicht/jpeglib/jcarith.c irrlicht/jpeglib/jdarith.c irrlicht/jpeglib/jaricom.c
LIBPNGOBJ = irrlicht/libpng/png.c irrlicht/libpng/pngerror.c irrlicht/libpng/pngget.c irrlicht/libpng/pngmem.c irrlicht/libpng/pngpread.c irrlicht/libpng/pngread.c irrlicht/libpng/pngrio.c irrlicht/libpng/pngrtran.c irrlicht/libpng/pngrutil.c irrlicht/libpng/pngset.c irrlicht/libpng/pngtrans.c irrlicht/libpng/pngwio.c irrlicht/libpng/pngwrite.c irrlicht/libpng/pngwtran.c irrlicht/libpng/pngwutil.c
LIBAESGM = irrlicht/aesGladman/aescrypt.cpp irrlicht/aesGladman/aeskey.cpp irrlicht/aesGladman/aestab.cpp irrlicht/aesGladman/fileenc.cpp irrlicht/aesGladman/hmac.cpp irrlicht/aesGladman/prng.cpp irrlicht/aesGladman/pwd2key.cpp irrlicht/aesGladman/sha1.cpp irrlicht/aesGladman/sha2.cpp
BZIP2OBJ = irrlicht/bzip2/blocksort.c irrlicht/bzip2/huffman.c irrlicht/bzip2/crctable.c irrlicht/bzip2/randtable.c irrlicht/bzip2/bzcompress.c irrlicht/bzip2/decompress.c irrlicht/bzip2/bzlib.c

#utilities library
VXUTIL_CORE_OBJ = VxUtilLib/VxFileUtil.cpp  VxUtilLib/VxTimer.cpp VxUtilLib/VxThread.cpp VxUtilLib/VxSemaphore.cpp
VXUTIL_CRYPTO_OBJ = VxUtilLib/Blowfish.c VxUtilLib/md5.c VxUtilLib/CheezyCrypt.cpp 
VXUTIL_DATABASE_OBJ = VxUtilLib/sqlite3.c VxUtilLib/DbBase.cpp
VXUTIL_MISC_OBJ = VxUtilLib/VxMisc.cpp VxUtilLib/VxColorUtil.cpp
VXUTILLIBOBJ = $(VXUTIL_CORE_OBJ) $(VXUTIL_CRYPTO_OBJ) $(VXUTIL_DATABASE_OBJ) $(VXUTIL_MISC_OBJ) VxUtilLib/vx_debug.cpp

#tinyxml
TINY_XML_OBJ = tinyxml/tinystr.cpp tinyxml/tinyxml.cpp tinyxml/tinyxmlerror.cpp tinyxml/tinyxmlparser.cpp 


#VxIrrLib library
VXIRR_A_OBJ = VxIrrLib/AudioBaseAndroid.cpp VxIrrLib/BspConverter.cpp VxIrrLib/BspLoader.cpp
# VxIrrLib/ColladaConverter.cpp requires dae so leave it out
VXIRR_B_OBJ = VxIrrLib/CameraBase.cpp VxIrrLib/EngineConfig.cpp
VXIRR_C_OBJ = VxIrrLib/EntAsteroid.cpp VxIrrLib/EntBase.cpp VxIrrLib/EntBaseCreate.cpp VxIrrLib/EntBox.cpp VxIrrLib/EntCollision.cpp 
VXIRR_D_OBJ = VxIrrLib/EntCometFire.cpp VxIrrLib/EntCometIce.cpp VxIrrLib/EntConstraint.cpp VxIrrLib/EntCylinder.cpp
VXIRR_E_OBJ = VxIrrLib/EntEarth.cpp VxIrrLib/EntMgr.cpp VxIrrLib/EntPlayer.cpp VxIrrLib/EntSpawn.cpp  VxIrrLib/EntSphere.cpp
VXIRR_F_OBJ = VxIrrLib/EntTemplate.cpp VxIrrLib/EntZone.cpp VxIrrLib/GameGlobals.cpp VxIrrLib/GameInputBase.cpp  VxIrrLib/GameLevelMgr.cpp
VXIRR_G_OBJ = VxIrrLib/GameStateBase.cpp VxIrrLib/IrrHelpersMisc.cpp VxIrrLib/IrrHelpersTexture.cpp VxIrrLib/IrrPhysAnimator.cpp
VXIRR_H_OBJ = VxIrrLib/IrrPhysBase.cpp VxIrrLib/IrrPhysBspBulletConverter.cpp VxIrrLib/IrrPhysDebugDrawer.cpp
VXIRR_I_OBJ = VxIrrLib/IrrPhysHelpers.cpp VxIrrLib/IrrPhysMeshUtil.cpp VxIrrLib/IrrPhysMotionState.cpp
VXIRR_J_OBJ = VxIrrLib/Scripting.cpp VxIrrLib/UserConfig.cpp VxIrrLib/VxIrrBase.cpp VxIrrLib/VxIrrBaseHelpers.cpp VxIrrLib/VxIrrCamera.cpp 
VXIRRLIBOBJ = $(VXIRR_A_OBJ) $(VXIRR_B_OBJ) $(VXIRR_C_OBJ) $(VXIRR_D_OBJ) $(VXIRR_E_OBJ) $(VXIRR_F_OBJ) $(VXIRR_G_OBJ) $(VXIRR_H_OBJ) $(VXIRR_I_OBJ) $(VXIRR_J_OBJ)

ANDROID = irrlicht/importgl.cpp app-android.cpp irrlicht/CIrrDeviceAndroid.cpp

DTWGAME_A = DtwCamera.cpp DtwDatabase.cpp DtwGameMgr.cpp DtwGlobals.cpp DtwPhysics.cpp DtwSave.cpp
DTWGAME_B = DtwStateMenu.cpp DtwStateMenuInit.cpp DtwStateMenuEvents.cpp DtwStateMenuHelpers.cpp 
DTWGAME_C = DtwStatePlay.cpp DtwStatePlayGeometry.cpp DtwStatePlayInput.cpp
DTWGAME =   $(DTWGAME_A) $(DTWGAME_B) $(DTWGAME_C)
 
LOCAL_MODULE := rt_destroytheworld

LOCAL_CFLAGS := -DANDROID_NDK -DANDROID_PLATFORM -DBUILD_OGLES2 -DDISABLE_IMPORTGL -g -D_DEBUG

#VisualGDBAndroid: AutoUpdateSourcesInNextLine
LOCAL_SRC_FILES := app-android.cpp BulletFiles.cpp BulletFilesPart2.cpp BulletFilesPart3.cpp DtwCamera.cpp DtwDatabase.cpp DtwGameMgr.cpp DtwGlobals.cpp DtwPhysics.cpp DtwPhysicsCreateObj.cpp DtwSave.cpp DtwStateCutScene.cpp DtwStateGameScore.cpp DtwStateMenu.cpp DtwStateMenuEvents.cpp DtwStateMenuHelpers.cpp DtwStateMenuInit.cpp DtwStatePlay.cpp DtwStatePlayGeometry.cpp DtwStatePlayInput.cpp IrrlichtFiles.cpp IrrlichtFilesPart2.cpp IrrlichtFilesPart3.cpp IrrlichtFilesPart4.cpp irrlicht/CAnimatedMeshHalfLife.cpp irrlicht/CImageLoaderDDS.cpp irrlicht/COGLES2Driver.cpp irrlicht/COGLES2ExtensionHandler.cpp irrlicht/COGLES2FixedPipelineRenderer.cpp irrlicht/COGLES2MaterialRenderer.cpp irrlicht/COGLES2NormalMapRenderer.cpp irrlicht/COGLES2ParallaxMapRenderer.cpp irrlicht/COGLES2Renderer2D.cpp irrlicht/COGLES2Texture.cpp irrlicht/COGLESDriver.cpp irrlicht/COGLESExtensionHandler.cpp irrlicht/COGLESTexture.cpp irrlicht/CSceneLoaderIrr.cpp irrlicht/CSMFMeshFileLoader.cpp irrlicht/CTRNormalMap.cpp irrlicht/CTRStencilShadow.cpp irrlicht/CWADReader.cpp irrlicht/zlib/adler32.c irrlicht/zlib/compress.c irrlicht/zlib/crc32.c irrlicht/zlib/deflate.c irrlicht/zlib/gzio.c irrlicht/zlib/infback.c irrlicht/zlib/inffast.c irrlicht/zlib/inflate.c irrlicht/zlib/inftrees.c irrlicht/zlib/trees.c irrlicht/zlib/uncompr.c irrlicht/zlib/zutil.c irrlicht/aesGladman/aescrypt.cpp irrlicht/aesGladman/aeskey.cpp irrlicht/aesGladman/aestab.cpp irrlicht/aesGladman/fileenc.cpp irrlicht/aesGladman/hmac.cpp irrlicht/aesGladman/prng.cpp irrlicht/aesGladman/pwd2key.cpp irrlicht/aesGladman/sha1.cpp irrlicht/aesGladman/sha2.cpp irrlicht/jpeglib/jaricom.c irrlicht/jpeglib/jcapimin.c irrlicht/jpeglib/jcapistd.c irrlicht/jpeglib/jcarith.c irrlicht/jpeglib/jccoefct.c irrlicht/jpeglib/jccolor.c irrlicht/jpeglib/jcdctmgr.c irrlicht/jpeglib/jchuff.c irrlicht/jpeglib/jcinit.c irrlicht/jpeglib/jcmainct.c irrlicht/jpeglib/jcmarker.c irrlicht/jpeglib/jcmaster.c irrlicht/jpeglib/jcomapi.c irrlicht/jpeglib/jcparam.c irrlicht/jpeglib/jcprepct.c irrlicht/jpeglib/jcsample.c irrlicht/jpeglib/jctrans.c irrlicht/jpeglib/jdapimin.c irrlicht/jpeglib/jdapistd.c irrlicht/jpeglib/jdarith.c irrlicht/jpeglib/jdatadst.c irrlicht/jpeglib/jdatasrc.c irrlicht/jpeglib/jdcoefct.c irrlicht/jpeglib/jdcolor.c irrlicht/jpeglib/jddctmgr.c irrlicht/jpeglib/jdhuff.c irrlicht/jpeglib/jdinput.c irrlicht/jpeglib/jdmainct.c irrlicht/jpeglib/jdmarker.c irrlicht/jpeglib/jdmaster.c irrlicht/jpeglib/jdmerge.c irrlicht/jpeglib/jdpostct.c irrlicht/jpeglib/jdsample.c irrlicht/jpeglib/jdtrans.c irrlicht/jpeglib/jerror.c irrlicht/jpeglib/jfdctflt.c irrlicht/jpeglib/jfdctfst.c irrlicht/jpeglib/jfdctint.c irrlicht/jpeglib/jidctflt.c irrlicht/jpeglib/jidctfst.c irrlicht/jpeglib/jidctint.c irrlicht/jpeglib/jmemmgr.c irrlicht/jpeglib/jmemnobs.c irrlicht/jpeglib/jquant1.c irrlicht/jpeglib/jquant2.c irrlicht/jpeglib/jutils.c tinyxml/tinystr.cpp tinyxml/tinyxml.cpp tinyxml/tinyxmlerror.cpp tinyxml/tinyxmlparser.cpp VxIrrLib/AudioBaseAndroid.cpp VxIrrLib/CameraBase.cpp VxIrrLib/EngineConfig.cpp VxIrrLib/EntAsteroidBlue.cpp VxIrrLib/EntAsteroidRed.cpp VxIrrLib/EntBase.cpp VxIrrLib/EntBaseCreate.cpp VxIrrLib/EntBox.cpp VxIrrLib/EntCollision.cpp VxIrrLib/EntCometFire.cpp VxIrrLib/EntCometIce.cpp VxIrrLib/EntConstraint.cpp VxIrrLib/EntCylinder.cpp VxIrrLib/EntEarth.cpp VxIrrLib/EntMgr.cpp VxIrrLib/EntPlayer.cpp VxIrrLib/EntSpawn.cpp VxIrrLib/EntSphere.cpp VxIrrLib/EntTemplate.cpp VxIrrLib/EntZone.cpp VxIrrLib/GameGlobals.cpp VxIrrLib/GameInputBase.cpp VxIrrLib/GameLevelMgr.cpp VxIrrLib/GameStateBase.cpp VxIrrLib/HighScores.cpp VxIrrLib/IrrHelpersMisc.cpp VxIrrLib/IrrHelpersTexture.cpp VxIrrLib/IrrPhysAnimator.cpp VxIrrLib/IrrPhysBase.cpp VxIrrLib/IrrPhysBspBulletConverter.cpp VxIrrLib/IrrPhysDebugDrawer.cpp VxIrrLib/IrrPhysHelpers.cpp VxIrrLib/IrrPhysMeshUtil.cpp VxIrrLib/IrrPhysMotionState.cpp VxIrrLib/Scripting.cpp VxIrrLib/SoundMgr.cpp VxIrrLib/stb_vorbis.c VxIrrLib/TimedMessage.cpp VxIrrLib/UserConfig.cpp VxIrrLib/VxHealthSceneNode.cpp VxIrrLib/VxIrrBase.cpp VxIrrLib/VxIrrBaseHelpers.cpp VxIrrLib/VxIrrCamera.cpp VxIrrLib/VxProgressBarNode.cpp VxUtilLib/DbBase.cpp VxUtilLib/sqlite3.c VxUtilLib/vx_debug.cpp VxUtilLib/VxColorUtil.cpp VxUtilLib/VxFileIsTypeFunctions.cpp VxUtilLib/VxFileLists.cpp VxUtilLib/VxFileUtil.cpp VxUtilLib/VxGlobals.cpp VxUtilLib/VxMutex.cpp VxUtilLib/VxParse.cpp VxUtilLib/VxSemaphore.cpp VxUtilLib/VxStringUtil.cpp VxUtilLib/VxThread.cpp VxUtilLib/VxTimer.cpp

LOCAL_LDLIBS := \
				-llog \
				-landroid \
				-lGLESv2 \
				-lGLESv1_CM \
				-ldl \
				-lz

include $(BUILD_SHARED_LIBRARY)
